﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.Design.WebControls;
using System.Web.UI.Design;

namespace IdeaSparx.CoolControls.Web
{
    public class CoolGridViewDesigner : GridViewDesigner
    {
        public override System.Web.UI.Design.TemplateGroupCollection TemplateGroups
        {
            get
            {
                TemplateGroupCollection c = base.TemplateGroups;
                TemplateDefinition t = new TemplateDefinition(this, "Child Template", this.Component, "ChildTemplate", false);
                TemplateGroup tg = new TemplateGroup("ChildTemplate");
                tg.AddTemplateDefinition(t);
                c.Add(tg);
                return c;
            }
        }
    }
}
